package com.example.ormsqlsplicingframe1.sql;

public interface SelectFieldSql  extends Sql{

    SelectFieldSql field(String name,String asName);

    // count(${name}) as asName
    SelectFieldSql count(String name ,String asName);

    SelectFieldSql sum(String name ,String asName);

    SelectFieldSql mix(String name ,String asName);

    //date_fomar('','')
    SelectFieldSql dateFormat(String name ,String format,String asName);
    //yyhh  ---- dasads:sds:sda
    SelectFieldSql day(String name ,String asName);

    SelectFieldSql month(String name ,String asName);

    SelectFieldSql year(String name ,String asName);

}
